passing image objects to anim, not working