Refined region.resize();
Removed 'view:navigation-end' event, use 'view:naviagte-to' instead.
Added onBeforeNavigateTo() to contexts.