considering visible page count in readerrolling
This should fix #660.