when layouting() the grid twice it did not position nicely