Items in task, plus:
* fixed the scrolling behavior of the legend
* several hard-coded js html bits were moved to be html templates.
Merge pull request #78 from USGS-CIDA/GLRIDB-331_AFINCH_UI_Tweaks

Items in task, plus: