     
     override open func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
         if !FolioReader.sharedInstance.isReaderReady { return }
-        
         // Update pages
         pagesForCurrentPage(currentPage)
         

    override open func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) {
        ajustRotate(to: toInterfaceOrientation, duration: duration)
    }
    
    open func ajustRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval){
        if !FolioReader.sharedInstance.isReaderReady { return }

    fileprivate var tempReference: FRTocReference?
    fileprivate var isFirstLoad = true
    
    open var isFirstLoadOrientation = true
    
    // MARK: - View life cicle
    
