     }
     
     func handleLeftPanGesture(panGesture: UIPanGestureRecognizer) {
+        
+        if !allGestureEnabled {
+            return
+        }
         
         if !isTagetViewController() {
             return

    }
    
    func handleRightPanGesture(panGesture: UIPanGestureRecognizer) {
        
        if !isTagetViewController() {
            return

        enableContentInteraction()
    }
    
    public func disableAllGesture() {
        allGestureEnabled = false
    }
    
    public func enableAllGesture() {
        allGestureEnabled = true
    }
    
    //pragma mark – UIGestureRecognizerDelegate
    public func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -> Bool {
        
        if !allGestureEnabled {
            return false
        }
        
        let point: CGPoint = touch.locationInView(view)
        
        if gestureRecognizer == leftPanGesture {
