Add the swipe event for the mobile