Show and hide tab content. On load match the tab content ID to the URL hash and display.
Click around and refresh the page. The previously selected tab will be showing.