implement responsive lightbox