working on getting ajax display of galleries