Rewrote collapse/hide facets