changes to provide a sortable/filterable gallery page.