fix dom grid height on widget resize