close the nav after clicking on a link