       break
     }
   }
-
+  
   public func gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer) -> Bool {
     
     if gestureRecognizer is UITapGestureRecognizer {

   */
  private func addSwipeGestureToMasterViewController() {
    guard let master = self.mainViewController else { return }
    guard let view = master.viewControllers.first?.view else { return }
    
    let panGestureRecognizer = UIPanGestureRecognizer(target: self, action: #selector(MillefeuilleViewController.handlePanGesture(_:)))
    panGestureRecognizer.delegate = self
    view.addGestureRecognizer(panGestureRecognizer)

  }
}


      return
    }
    
    // Checking if menu is open and blocking any gesting beside right to left
    let gestureIsDraggingFromRightToLeft = (recognizer.velocityInView(gestureView).x < 10)
    if self.leftMenuVisible && !gestureIsDraggingFromRightToLeft {
      return
    }
    
    // Simple gesture with no drag and drop
    switch(recognizer.state) {
