Bug 984410 - Sync reflow in goToPage