hide collapse menu on click