Last visited page functionality impl completed

Finding no of pages in first chapter giving wrong value some times when
first time launching book.