massively increased performance by loading images for animations only once