making header mobile compatible