Add animation for switching activity.