smart animation working