         setMenuVisible(true, animated: true)
     }
     
-    func closeMenu() {
+    public func closeMenu() {
         let delayInSeconds = 0.1
         
         let popTime = dispatch_time(DISPATCH_TIME_NOW, Int64(delayInSeconds * Double(NSEC_PER_SEC)))

        }
    }
    
    var enablePan: Bool {
        set {
            if (enablePan == true) {
                addPanGestures()

        }
    }
    
    public var backgroundImage: UIImage? {
        get {  return bgImageContainer.image }
        set {  bgImageContainer.image = newValue }
    }
    
    public var backgroundImageContentMode = UIViewContentMode.ScaleAspectFill {
        didSet {
            bgImageContainer.contentMode = backgroundImageContentMode
        }
