Improved animation when switching root controller