Fix header positioning glitch

swipe + scroll sometimes causes the header to end up positioned over the content. This fixes it.