collapse menu if hash