fix swipe navigation