Corrected/build header nav fixes/actions

- Corrected wonky link behavior causing the link to sometimes take a
user to the actual subcat and sometimes to its parent category.
- Built and implemented function for closing the dropdowns when clicking
on a link in them.
Versioning