expand/collapse grid hierachy