Added Functionality to sliders