added lightbox functionality