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

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

    public var rightViewController: UIViewController?
    public var rightPanGesture: UIPanGestureRecognizer?
    public var rightTapGesture: UITapGestureRecognizer?

    private var allGestureEnabled: Bool = true
    
    public required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
