script animation working for info images