I just modified the code and it is updated (you can drag the object to the left at different height now).

Let me know what you would like the slider for spring constant to be changed.