added scaling to loading image