filter hashchange events to only dispatch route event on id change