define sidepanels in external JSON for maintainability
init vars