Added new category queries to past galleries page