         }
     }
 
-    public func refreshPageHud() {
+    open func refreshPageHud() {
         currentPageIndex = pagingView.currentPageIndex
     }
     
-    @objc public func hideBars() {
+    @objc open func hideBars() {
         setBarsHidden(hidden: true, animated: true)
     }
     
-    public func setBarsHidden(hidden: Bool, animated: Bool) {
+    open func setBarsHidden(hidden: Bool, animated: Bool) {
         if let toolbarItems = toolbarItems, toolbarItems.count > 0 {
             if showSlider, pagingView.direction.isVertical() {
                 navigationController?.setToolbarHidden(hidden, animated: animated)

        }
    }
    
    @objc func setBarHiddenByTapGesture() {
        cancelAutoBarHidden()
        setBarsHidden(hidden: !statusBarHidden, animated: true)
    }

        currentPageHud.frame = CGRect(x: view.center.x - currentPageHud.frame.width / 2.0, y: position - currentPageHud.frame.height - 10, width: currentPageHud.frame.width, height: currentPageHud.frame.height)
    }
    
    open func cancelAutoBarHidden() {
        NSObject.cancelPreviousPerformRequests(withTarget: self, selector: #selector(hideBars), object: self)
    }
    
