fix swipe for cycle