     }
     
     private func dismissPhotoBrowserAnimated(animated: Bool) {
-        
         modalTransitionStyle = .CrossDissolve
         delegate?.photoBrowser?(self, willDismissAtPageIndex: currentPageIndex)
         dismissViewControllerAnimated(animated, completion: {[weak self] in

    // MARK: - Layout
    
    private func performLayout() {
        
        performingLayout = true
        let photosCount = numberOfPhotos()
        

    public weak var leftArrowSelectedImage: UIImage!
    public weak var rightArrowImage: UIImage!
    public weak var rightArrowSelectedImage: UIImage!
    public var doneButtonImage: UIImage!
    public var doneButtonImageForeground: UIImage!
    public weak var scaleImage: UIImage!
    
    public weak var trackTintColor: UIColor!
