fix the display of images on mobile.