@bramus I think I've solved that issue you noticed: I set an higher transition delay for the scroll-delayed property so it's longer just a bit more than the transition duration of the header (probably I updated the demo after your article).
Anyway I commented all the CSS code and now it works fine for what I tested so far. 🙂