The pan gesture recognizer is added/removed to/from the navigation bar when applicable

If the front view is a UINavigationController the pan gesture recognizer is applied to its navigation bar instead to the whole frontViewContainer's view.