 
     public func closeMenuFromCenterWithVelocity(velocity: CGFloat) {
         dismissStatusBar()
+        
         let viewCenterY = UIScreen.mainScreen().bounds.size.height/2
         currentState = .Displaying
         let duration = Double((contentController!.view.center.y - viewCenterY) / velocity)
         UIView.animateWithDuration(duration, animations: {[unowned self]() -> Void in
+            
             if let center = self.contentController?.view.center {
                 self.contentController?.view.center = CGPointMake(center.x, UIScreen.mainScreen().bounds.size.height/2)
             }
+            
         }, completion: {[unowned self](finished: Bool) -> Void in
                 self.currentState = .Closed
         })


    public var height: CGFloat? {
        willSet {
            var menuFrame = frame
            menuFrame.size.height = newValue!
            menuContentTable?.frame = menuFrame
            self.height = newValue

    
    public func showMenu() {
        if currentState == .Shown || currentState == .Displaying {
            menuClosingWithCompletion(animated: true, completion: nil)
        } else {
            currentState = .Displaying
            menuOpening(animated: true)
        }
    }
    
