moved image loading into anim object