Adjust header style when resized