Hiding the lightbox before changing image