             toItem: self.view, attribute: NSLayoutAttribute.Leading, multiplier: 1, constant: 0))
         self.view.addConstraint(NSLayoutConstraint(item: self.rootView, attribute: NSLayoutAttribute.Trailing, relatedBy: NSLayoutRelation.Equal,
             toItem: self.view, attribute: NSLayoutAttribute.Trailing, multiplier: 1, constant: 0))
-        
-        let tap = UITapGestureRecognizer(target: self, action: "closeMenu")
-        tap.cancelsTouchesInView = false
-        self.rootView.addGestureRecognizer(tap)
     }
     
     // MARK: - Internal

        pan.minimumNumberOfTouches = 1
        pan.maximumNumberOfTouches = 1
        self.view.addGestureRecognizer(pan)
    }
    
    func setupUI() {

    var isClosed: Bool = true {
        didSet {
            self.lightStatusBar = !self.isClosed
            self.rootView?.userInteractionEnabled = self.isClosed
        }
    }
    
