center the thumbnail of the galleries