update to lightbox code