Adapt gallery item widths for mobile first