fixes the image widths on desktop and mobile