                 slideDownAnimationWithClose()
             case .none:
                 noneAnimationWithClose()
-            case default:
+            default:
                 noneAnimationWithClose()
             }
         }

    }

    fileprivate func slideDownAnimationWithClose() {
        for item in items.reverse() {
            if item.hidden == true { continue }
            UIView.animateWithDuration(0.2, delay: 0, options: [], animations: { () -> Void in
                item.frame.origin.y = 0
                item.alpha = 0
                }, completion: nil)

    fileprivate func slideDownAnimationWithOpen() {
        var itemHeight: CGFloat = 0
        for item in items {
            if item.isHidden == true { continue }
            itemHeight += item.size + itemSpace
            UIView.animate(withDuration: 0.2, delay: 0, options: [], animations: { () -> Void in
                                        item.frame.origin.y = itemHeight
                                        item.frame.origin.x = 4
                                        item.alpha = 1
