How to make a fixed header scroll smoothly?

Hey everyone, I’m trying to make a fixed header that scrolls smoothly with the page in Readymag. Any tips on how to do this properly?