fixed navbar reszing issue