update gallery image width for smaller screens