set max height to grid row, improve animation performance