fixed so tabs are added to hash and retained on page load