     
     private let imageProvider: ImageProvider
     private let configuration: ImageViewerConfiguration
-    private let parentView: UIView
+    private let displacedView: UIView
     
     public var showInitiationBlock: (Void -> Void)? //executed right before the image animation into its final position starts.
     public var showCompletionBlock: (Void -> Void)? //executed as the last step after all the show animations.

    
    // MARK: - Initializers
    
    init(imageProvider: ImageProvider, configuration: ImageViewerConfiguration, parentView: UIView) {
        
        self.imageProvider = imageProvider
        self.configuration = configuration
        self.parentView = parentView
        
        super.init(nibName: "ImageViewer", bundle: NSBundle.mainBundle())
        

                    UIView.animateWithDuration(self.showCloseButtonDuration, animations: { self.closeButton.alpha = 1.0 })
                    self.configureGestureRecognizers()
                    self.showCompletionBlock?()
                    self.displacedView.hidden = false
                }
        }
    }
