move loading image to ResourceManager