remove legacy code for panel.less