added max width to image gallery