Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
Merge pull request #4772 from Snuffleupagus/fewer-getVisiblePages-calls

Reduce the number of calls to PDFView.getVisiblePages from updateViewarea