fixed nav resize display bug