Bug in active tab on hashchange