         let layout = UICollectionViewFlowLayout()
         layout.scrollDirection = .Horizontal
         layout.sectionInset = BRNImagePreviewCell.sectionInset
+        layout.footerReferenceSize = CGSizeMake(20.0, 100)
         self.collectionView = UICollectionView(frame: CGRectZero, collectionViewLayout: layout)
         
         super.init(style: style, reuseIdentifier: reuseIdentifier)
         
         self.collectionView.dataSource = self
         self.collectionView.delegate = self
+        self.collectionView.contentInset = BRNImagePreviewCell.contentInset
         self.collectionView.backgroundColor = UIColor.clearColor()
+        self.collectionView.showsHorizontalScrollIndicator = false
         self.collectionView.alwaysBounceHorizontal = true
         self.collectionView.registerClass(BRNImageCollectionViewCell.classForCoder(), forCellWithReuseIdentifier: "Cell")
+        self.collectionView.registerClass(BRNImageSupplementaryView.classForCoder(), forSupplementaryViewOfKind: UICollectionElementKindSectionFooter, withReuseIdentifier: "SupplementaryView")
         self.addSubview(self.collectionView)
     }
 

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        if indexPath.row == 0 && self.previewsPhotos {
            let cell = BRNImagePreviewCell(style: UITableViewCellStyle.Default , reuseIdentifier: "Cell")
            cell.photos = self.photos
            
            return cell

        if dismiss {
            self.dismissWithClickedButtonIndex(buttonIndex, animated: true)
        }
    }
    
    // MARK: - BRNImagePreviewCellDelegate
    
    func imagePreviewCell(imagePreviewCell: BRNImagePreviewCell, didSelectImageAtIndex imageIndex: Int) {
        self.enlargedPreviews = true
        self.tableView.reloadData()
        self.setNeedsLayout()
        
        self.selectedPhotos.append(self.photos[imageIndex])
    }
    
    func imagePreviewCell(imagePreviewCell: BRNImagePreviewCell, didDeselectImageAtIndex imageIndex: Int) {
        self.selectedPhotos.removeAtIndex(find(self.photos, self.photos[imageIndex])!)
    }
    
    // MARK: - Presentation
