changes lightbox and grid