fix homepage lightbox code