Added Toggling for slider