modified masonry settings to center gallery on mobile