         static var startPointOfPan: CGPoint = CGPointZero
         static var wasOpenAtStartOfPan: Bool = false
         static var wasHiddenAtStartOfPan: Bool = false
+        static var lastState : UIGestureRecognizerState = .Ended
     }
     
     func handleLeftPanGesture(panGesture: UIPanGestureRecognizer) {

                    track(.FlickClose)

                }
        case UIGestureRecognizerState.Failed, UIGestureRecognizerState.Possible:
            break
        }
        
    }
    
    struct RightPanState {

        
        switch panGesture.state {
        case UIGestureRecognizerState.Began:
            if RightPanState.lastState != .Ended &&  RightPanState.lastState != .Cancelled &&  RightPanState.lastState != .Failed {
                return
            }
            
            RightPanState.frameAtStartOfPan = rightContainerView.frame
            RightPanState.startPointOfPan = panGesture.locationInView(view)
