toggle refactoring in progress
use mainMenuPanels object in viewer
Merge pull request #43 from IIIF/toggle-refactor

Toggle refactor