 }
 
 //MARK: - PhotoBrowserViewControllerDelegate
+
 extension PhotoBrowserView: PhotoBrowserViewControllerDelegate {
     public func photoBrowser(_ photoBrowser: PhotoBrowserViewController, photoViewedAtIndex indexPath: IndexPath) {
         self.delegate?.photoBrowser(self, photoViewedAtIndex: indexPath)

    }
    
    //MARK: - PhotoBrowser Methods
    public func scrollToPhoto(atIndex index:Int, animated:Bool) {
        let indexPath:IndexPath = IndexPath(row: index, section: 0)
        guard indexPath.row < self.largeImagesCollectionView.numberOfItems(inSection: 0) && indexPath.row >= 0 else { self.reloadPhotos(); return }

@IBDesignable
public class PhotoBrowserView: UIView {
    
    //MARK: - Private Variables
    
    fileprivate var largeImagesCollectionView: UICollectionView = UICollectionView(frame: CGRect.zero, collectionViewLayout: PhotoBrowserView.largeImagesLayout())
    fileprivate var smallImagesCollectionView: UICollectionView = UICollectionView(frame: CGRect.zero, collectionViewLayout: PhotoBrowserView.smallImagesLayout())
    fileprivate var imageLabel: UILabel = UILabel()
