Slider click event fix