             perform(#selector(hideBars), with: self, afterDelay: automaticBarsHiddenDuration)
             automaticBarsHiddenDuration = 0
         }
-        interfaceBehaviour.updateLabel(label: pageHud.label, pagingView: pagingView, denominator: numberOfPages)
+        interfaceBehaviour().updateLabel(label: pageHud.label, pagingView: pagingView, denominator: numberOfPages)
     }
     
     override open func viewWillDisappear(_ animated: Bool) {

    
    @objc func scrollDidEnd() {
        NSObject.cancelPreviousPerformRequests(withTarget: self)
        interfaceBehaviour.updateLabel(label: pageHud.label, pagingView: pagingView, denominator: numberOfPages)
    }
        
    // MARK: - appearance

            pagingView.resizeVisiblePages()

            // update slider position
            interfaceBehaviour().snapSliderPosition(slider: pageSlider, pagingView: pagingView)
            
            didRotate = false
        }
