Slider is finished

Added functionality to the slider