         print("b")
     }
     
-    open override var shouldAutorotate: Bool {
-        get {
-            return false
-        }
-    }
-    
-    override open var supportedInterfaceOrientations : UIInterfaceOrientationMask {
-        if(isFirstLoadOrientation){
-            return UIInterfaceOrientationMask.portrait
-        }
-        return UIInterfaceOrientationMask.allButUpsideDown
-    }
-    
-    
     
     
     // MARK: Status bar and Navigation bar

    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 }

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