Allows you to listen and make changes to a pages history state.