FooterGallery refactoring