fix page count when scrolling to page #24