check if the homepage is the current page in the history. if not set it
so it is