     // MARK: PageboyViewControllerDelegate
     //
     
-    
-    
     func pageboyViewController(_ pageboyViewController: PageboyViewController,
                                didScrollToPosition position: CGPoint,
                                direction: PageboyViewController.NavigationDirection) {
-        
-        self.offsetLabel.text = "Current Position: " + String(format: "%.3f", position.x)
         self.updateAppearance(pageOffset: position.x)
+        self.updateStatusLabels()
     }
     
     func pageboyViewController(_ pageboyViewController: PageboyViewController,

        
        self.dataSource = self
        self.delegate = self
        self.updateAppearance(pageOffset: 0.0)
    }
    
    // 

    func pageboyViewController(_ pageboyViewController: PageboyViewController,
                               didScrollToPageWithIndex index: Int,
                               direction: PageboyViewController.NavigationDirection) {
        self.updateAppearance(pageOffset: CGFloat(index))
        self.updateStatusLabels()

        self.updateBarButtonStates(index: index)
    }
}
