initial setup of responsive gallery (no lightbox yet).