added an option to collapse search trait section