check isViewLoaded in configureGestureRecognizer before adding/removing it from view, always add it in viewDidLoad