UI change to limit image size to the container