                 completion: { (Bool) -> Void in
                     self.view.hidden = false
                     self.pagingScrollView.alpha = 1.0
-                    fadeView.removeFromSuperview()
+                    self.backgroundView.hidden = true
             })
         }
     }

                },
                completion: { (Bool) -> Void in
                    self.view.hidden = false
                    self.pagingScrollView.alpha = 1.0
                    self.resizableImageView.alpha = 0.0
                    fadeView.removeFromSuperview()
            })
            
        } else {
            
            UIView.animateWithDuration(animationDuration, delay:0, usingSpringWithDamping:animationDamping, initialSpringVelocity:0, options:.CurveEaseInOut, animations: { () -> Void in
                    fadeView.alpha = 1.0
                    if self.displayCloseButton == true {
                        self.closeButton.alpha = 1.0
                        self.closeButton.frame = self.closeButtonShowFrame

    
    // tool for controls
    private var applicationWindow: UIWindow!
    private var backgroundView: UIView!
    private var toolBar: UIToolbar!
    private var toolCounterLabel: UILabel!
    private var toolCounterButton: UIBarButtonItem!
