scaling of the image inside the container with the original aspect ratio