Add menu collapse functionality

This enables jQuery to operate on the DOM after Angular has added new elements, resulting in a working collapsible menu.

Related to Issue 5
closes #5