Invert control flow, fix resizing, and improve checkerboarding
significantly by giving tiles some time to paint before we render
unrendered content.
auto merge of #3761 : pcwalton/servo/smooth-scrolling, r=larsbergstrom

r? @glennw @mbrubeck