Smoothed out sliding action, and clarified code. More work needs to be
done to simulate the pushing of a knob.