update header style for scroll