[329] Rebase hashchange tab code on core plugin developed for ticket 329.