fixed spacing and margins in gallery page