Instead of setting the position of the labels in a grid, use two different grids and switch between them using a stack.