changed the way images subfacets should be opened/closed based on query