collapse the navigation