Slider moving, yet not correctly