Implement CAP gallery CMS and vertical centering