fix navbar collapse bug