the program now remembers where the user is in the document when refreshing the page