Center the gallery