                 let pageState = ReaderState(current: webViewPage, total: totalWebviewPages)
                 delegate?.center?(pageDidChanged: currentPage, current: pageState.current, total: pageState.total)
             }
-            FolioReader.sharedInstance.readerContainer.updateChapterPosition(chapter: currentPage.pageNumber-1,
-                                                                             position: Float(currentPage.webView.scrollView.contentOffset.y))
-            
+
+
         }
         
         scrollScrubber?.scrollViewDidEndDecelerating(scrollView)

    }
    
    open func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath) as! FolioReaderPage
        
        cell.centerDelegate = delegate

        return totalPages
    }
    
    public func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
    }

    public func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath) {
        print("\n### willDisplayCell ###")
        let chapter = cell as! FolioReaderPage
