     }
 
     @objc public func scrollViewDidScroll(_ scrollView: UIScrollView) {
-        guard let navigationBar = navigationBar else {
+        guard let navigationBar = navigationBar, isHidingEnabled else {
             return
         }
 

    }
    
    @objc public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
        guard let navigationBar = navigationBar else {
            return
        }
        

    }

    @objc public func scrollViewWillScrollToTop(_ scrollView: UIScrollView) {
        guard let navigationBar = navigationBar, isHidingEnabled else {
            return
        }
        initialNavigationBarPercentHidden = navigationBar.navigationBarPercentHidden
