Put the quiz page (MainPage) onto a grid rather than using Margins for positioning.