This is a good spot where you can reuse the `pageHeight(...)` function once you've refactored it on `PDFViewer` ;)