Restructuring the lightbox