force a layout on a blank page before replacing full page to prevent scroll state bleeding