Modify the script to also support Sticky headers.
Comment
Important to not make the content jump.

 But only when on top.