Stop refreshing page on a hash change

Keep tabs on the current url and only do so when the url changes

Bug: 54238

Change-Id: I819600b87c63fa5aef10039f73808e3e225aa982
Merge "Stop refreshing page on a hash change"