fixed bugs for fixed navbar portability.