Initialize the first page in localStorage and read it to the page.