Added collapsing to records page.