improved nav link identification so clicking content links also highlights the active section
updated nav links
cleaned up and refactored the initialization