         self.perform(#selector(PagedPublicationView.dimPageNumberLabel), with: nil, afterDelay: 1.0)
     }
     
+    var currPageLabelText:String?
+    
     fileprivate func updatePageNumberLabel(withText text:String?) {
         if text == nil {
             NSObject.cancelPreviousPerformRequests(withTarget: self, selector: #selector(PagedPublicationView.dimPageNumberLabel), object: nil)

            layer.cornerRadius = 6
            layer.masksToBounds = true
            textColor = UIColor.white
            backgroundColor = UIColor(white: 0, alpha: 0.3)
            
            textAlignment = .center
            font = UIFont.boldSystemFont(ofSize: 18) //TODO: dynamic font size
            

            
            showPageNumberLabel()
        }
        currPageLabelText = text
    }
    
    
