Added expand/collapse UI elements to detail page boxes