VID-1976 getting galleries to render client side