refactored header into partial and reoredered css for tables and header