adding classes to config section for future reference and updating "nav-parent" on nested elements