#165: changes to gallery to put title on the grid