Changed the root layout of the pivot from grid to flex.