fix navbar in collapsed mode