Implemented slider movement