Delay in opening the lightbox window