A better solution for navbar problem. Probably not, though.