Added animation to the content transition.