Refactored header_spec for mobile & tablet