add data-panel attribute