Add support for history navigation and direct linking to tabs when using location hash fragments.