         super.commonInit()
         
         backgroundColor = UIColor(red: 51.0 / 255.0, green: 51.0 / 255.0, blue: 75.0 / 255.0, alpha: 1.0)
+        
+        updateContentLayout()
     }
     
     public override init(frame: CGRect = CGRect(x: 0.0, y: 0.0, width: 320.0, height: DefaultContentHeight)) {

    // MARK: - CollectionView
    private lazy var collectionView: UICollectionView = { [unowned self] in
        let view = UICollectionView(frame: CGRectZero, collectionViewLayout: self.collectionLayout)
        self.updateContentLayout()
        
        view.backgroundColor = UIColor.clearColor()
        view.showsHorizontalScrollIndicator = false
        view.registerClass(MenuCell.self, forCellWithReuseIdentifier: CellIdentifier)


extension MenuView: UICollectionViewDelegate {
    public func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        selectedIndex = indexPath.item
        delegate?.menu(self, didSelectItemAtIndex: selectedIndex!)
        
        UIView.animateWithDuration(0.2, delay: 0.2, options: nil, animations: {
            self.revealed = false
        }, completion: nil)
    }
}
