fixes menu collapse on click on mobile only