correction on collapse hide on link click to detecte is a mobile