                 }
             }
             
-            if (SlideMenuOptions.tapGesturesEnabled) {
+            if SlideMenuOptions.tapGesturesEnabled {
                 if rightTapGesture == nil {
                     rightTapGesture = UITapGestureRecognizer(target: self, action: #selector(self.toggleRight))
                     rightTapGesture!.delegate = self

    
    open func addLeftGestures() {
    
        if (leftViewController != nil) {
            if (SlideMenuOptions.panGesturesEnabled) {
                if leftPanGesture == nil {
                    leftPanGesture = UIPanGestureRecognizer(target: self, action: #selector(self.handleLeftPanGesture(_:)))
                    leftPanGesture!.delegate = self

    
    open func addRightGestures() {
        
        if rightViewController != nil {
            if SlideMenuOptions.panGesturesEnabled {
                if rightPanGesture == nil {
                    rightPanGesture = UIPanGestureRecognizer(target: self, action: #selector(self.handleRightPanGesture(_:)))
                    rightPanGesture!.delegate = self
