swiping event handlers for mobile