             self.pagingView.endRotate()
             DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
                 // update page index
-                self.interfaceBehaviour.snapSliderPosition(slider: self.pageSlider, pagingView: self.pagingView)
-                self.interfaceBehaviour.updateLabel(label: self.pageHud.label, pagingView: self.pagingView, denominator: self.numberOfPages)
+                self.interfaceBehaviour().snapSliderPosition(slider: self.pageSlider, pagingView: self.pagingView)
+                self.interfaceBehaviour().updateLabel(label: self.pageHud.label, pagingView: self.pagingView, denominator: self.numberOfPages)
             }
         }
     }

            pagingView.resizeVisiblePages()

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

    
    open func pagingView(pagingView: PagingView, didChangeIndexTo index: Int) {
        if pagingView.scrollDirection.isVertical() {
            interfaceBehaviour().updateLabel(label: pageHud.label, numerator: index + 1, denominator: numberOfPages)
        }
    }
    
