fire resize when gallery lightbox closes

Resizing in lightbox mode breaks imager's responsive image loading (as the element containing the images is `display: none;`). Fire a resize when lightbox closes.