Fixes #17517 which includes the fixes for doj0x/app issues 208 and 209. As part of this fix dojox/app will set visibility hidden when is view is created or is being transitioned to, and setting visibility visible right before the transition is done to avoid having views flicker or overlay each other during transition.