slider slide clicking functionality