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

    
    // 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
                }
        }
    }
