This js enable the page to save/load the pageYOffset property to/from document.cookie, and make the page scroll to the last postion when it is shown.