add lightbox functionality