improved lightbox preview