collapse navbar a bit more gracefully