slider click functionality added