Update the url hash on menu clicks