add animation for avatar