         })
     }
     
-    func updateHudHorizontalPosition(position: CGFloat) {
-        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)
+    func updateHudVerticalPosition(position: CGFloat) {
+        let horizontalPosition = view.center.x - currentPageHud.frame.width / 2.0
+        let verticalPosition = position - currentPageHud.frame.height - 10
+        currentPageHud.frame = CGRect(x: horizontalPosition, y: verticalPosition, width: currentPageHud.frame.width, height: currentPageHud.frame.height)
     }
     
     open func cancelAutoBarHidden() {

            setToolBarHidden(hidden: !showSlider, animated: true)
            setHudHidden(hidden: !showPageNumberHud, animated: false)
        }
        updateCurrentPageHudLabel()
        registerPageNumberHud(true)
    }
    

            viewIsDisappeared = false
        }
    }
    
    @available(iOS 11.0, *)
    open override func viewSafeAreaInsetsDidChange() {
        super.viewSafeAreaInsetsDidChange()
        updateHudPosition()
    }

    open func registerContents() {
        for data in contents {
