add support for panel sub-grid