Added an option to append the text in a toggle nav link (for carets to indicate dropdowns)
Refactored one awful line of code into several awful lines of code