width is added to panelindex