added transition animation