refactored agent-list header view a bit