sync photo lightbox with main gallery, open lightbox from thumbnails