add animation to image frame