refactored navbar templates to make it easier to bring into other django projects