update swipe event