Added additional functionality to sliders