add "data-left-menu" and "data-right-menu" attributes for panels