centering text for img gallery