hides done and undone task headers if list is empty