Stickybits
Stickybits is a lightweight (<2KB) alternative to position: sticky polyfills that works perfectly for things like sticky headers.
In the past, I’ve had trouble using sticky headers — I’ve never managed to get them to work consistently well in Safari on iOS. I’ve only done some limited testing, but Stickybits seems to work pretty well.