         
         if self.isSwipingToDismiss == false {
             self.swipeToDismissInitiationBlock?()
-            self.parentView.hidden = false
+            self.displacedView.hidden = false
         }
         self.isSwipingToDismiss = true
         self.dynamicTransparencyActive = true

            }) { (finished) -> Void in
                if finished {
                    
                    self.parentView.hidden = false
                    self.isAnimating = false
                    NSNotificationCenter.defaultCenter().removeObserver(self)
                    self.view.removeFromSuperview()

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