Improve UI transition.