                 self.view.addGestureRecognizer(self.leftTapGetsture!)
             }
         }
+    }
+    
+    func addRightGestures() {
         
         if (self.rightViewController != nil) {
             if self.rightPanGesture == nil {


        self.removeLeftGestures()
        self.removeRightGestures()
        self.addGestures()
    }
    
    override func viewDidLoad() {

                self.view.addGestureRecognizer(self.rightTapGesture!)
            }
        }
    }
    
    func removeLeftGestures() {
