compacting the panel with using tab