Use "position: sticky" for the top level headers in the content.