Jquery swipe motion is working