Keeps track of browser history