fix navbar hiding