only resize grid if list and nodes exist
comment