Modified navbar collapse behavior