         super.layoutSubviews()
         
         progressIndicator.center = bounds.center
-        blurView.frame = imageView.bounds
     }
     
     override func prepareForReuse() {

final class PhotoPreviewCell: PhotoCollectionViewCell {
    
    private let progressIndicator = UIActivityIndicatorView(activityIndicatorStyle: .WhiteLarge)
    private let blurView = UIVisualEffectView(effect: UIBlurEffect(style: .Light))
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        imageView.contentMode = .ScaleAspectFit
        imageView.addSubview(blurView)
        
        blurView.alpha = 0
        
        progressIndicator.hidesWhenStopped = true
        progressIndicator.color = UIColor(red: 162.0 / 255, green: 162.0 / 255, blue: 162.0 / 255, alpha: 1)

    private var imageRequestId: ImageRequestId?
    
    private func setProgressVisible(visible: Bool) {
        if visible {
            progressIndicator.startAnimating()
        } else {
            progressIndicator.stopAnimating()
        }
    }
}
