finished adding swipe navigation support