fixed bug in display of lightbox.