stop the image breaking out of the parent container