parsing active tab id from window.location.hash