Parses nav html, emits nav events and has built-in dropdown and expandable ui.