fixed centering of gallery images on the design view