refined moveSlider functions