Prevent collapse menu if it is not opened