Switched from image tags to backgrounds for animated gifs to improve displaying