Factor out header from list container