Completed Slider Logic