Fixed swipe event for mobile.