added touch events to slider