Moved expand/collapse logic to plate controller.