         // Set pages
         if let page = currentPage {
             page.webView.becomeFirstResponder()
+            
+            scrollScrubber.setSliderVal()
             
             if let readingTime = page.webView.js("getReadingTime()") {
                 pageIndicatorView.totalMinutes = Int(readingTime)!

        pageIndicatorView = FolioReaderPageIndicator(frame: CGRect(x: 0, y: view.frame.height-pageIndicatorHeight, width: view.frame.width, height: pageIndicatorHeight))
        view.addSubview(pageIndicatorView)
        
        scrollScrubber = ScrollScrubber(frame: CGRect(x: 80, y: (collectionView.frame.height/2)+10, width: collectionView.frame.height - 100, height: 40))
        scrollScrubber.delegate = self
        view.addSubview(scrollScrubber.slider)
    }

        pageIndicatorFrame.origin.x = 0
        pageIndicatorFrame.size.width = pageWidth
        
        var scrollScrubberFrame = scrollScrubber.slider.frame;
        scrollScrubberFrame.origin.x = pageWidth + 6
        scrollScrubberFrame.size.height = pageHeight - 100
        
        UIView.animateWithDuration(duration, animations: {
            
            // Adjust page indicator view
            self.pageIndicatorView.frame = pageIndicatorFrame
            self.pageIndicatorView.reloadView(updateShadow: true)
            
            // adjust scroll scrubber slider
            self.scrollScrubber.slider.frame = scrollScrubberFrame
            
            // Adjust collectionView
            self.collectionView.contentSize = CGSizeMake(pageWidth, pageHeight * CGFloat(self.totalPages))
