began layout of gallery