branch for optimizing the lightbox gallery