added click handler for sliders