 
 extension MenuView: UICollectionViewDelegate {
     public func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
-        
+        close()
     }
-
 }


import Foundation
import UIKit

public class MenuView: StickyHeaderView {


    }
    
    public func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
        let cell = collectionView.dequeueReusableCellWithReuseIdentifier(
            CellIdentifier,
            forIndexPath: indexPath
        ) as MenuCell
        
        cell.object = items[indexPath.item]
        
        return cell
    }
    
    // The view that is returned must be retrieved from a call to -dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath:
