enhance preventDefault for swipe