clicking on nav links now collapses the nav on small screens