nav bar now collapses when link is selected