adding collapse/expand functionality:
* syncing class names used for toggling across UI
* adding in basic style for expanding/collapsing
* revising DOM manipulating JS