fixed bug by properly removing the swipe gesture recognizer from the view on exit