adding and setting up lightbox