recalculate packages data grid height on tab switch