Fixed lightbox back button issues