when completed section is empty, the completed section disappears