using location.hash to initialize tabview correctly