fixed navbar bug for cat pages