added tab transition animation