Added check for a hash change on the current page

Needed in case you have links on the current page (e.g., menus, inline)
for tab content on the current page