Slider onclick behavior fixed