Flexgrid Faster

Reduces even more dom writes by only writing when absolutely necessary