More layout updates to reduce the number of calls to _doResize and doLayout, but to call onResize once at the end of a transition with multiple views, and other testcase fixes.