fix bug where zooming can shift when going from the top and bottom of the slider quickly (the one gary pointed out)