Fixed window.location.hash page navigation