Fix that lessens the possibility of ending on a blank page

This may reduce instances where a blank page would appear. 
https://github.com/mtabini/AFKPageFlipper/issues/30

I think we should review the issue to fully determine and fix the bug.