Added panelWidth and panelHeight fields