fix swipe and profile navigation