header position adjustment for responsiveness