Progress on counting last page
Fixed pagesInView