added collapsing boxes, search box