         toolPreviousButton.enabled = (currentPageIndex > 0)
         toolNextButton.enabled = (currentPageIndex < numberOfPhotos - 1)
     }
-   
+    
     // MARK: - panGestureRecognized
     public func panGestureRecognized(sender: UIPanGestureRecognizer) {
         

                let alpha: CGFloat = hidden ? 0.0 : 1.0
                self.toolBar.alpha = alpha
                self.toolBar.frame = hidden ? self.frameForToolbarHideAtOrientation() : self.frameForToolbarAtOrientation()
                self.doneButton.alpha = alpha
                self.doneButton.frame = hidden ? self.doneButtonHideFrame : self.doneButtonShowFrame
                if self.displayDeleteButton == true {
                    self.deleteButton.alpha = alpha
                    self.deleteButton.frame = hidden ? self.deleteButtonHideFrame : self.deleteButtonShowFrame

        toolCounterButton = UIBarButtonItem(customView: toolCounterLabel)
        
        // close
        
        // delete
        setSettingCloseButton()
        setSettingDeleteButton()
        
        // action button
