refactor(dom) getPanel