Added list capability for gallery