Adds gesture recognition to remove current view