Fix section header position problem

Hi Sam, this pull request is aim to fix a section header position bug.

 I know @chenyuan has opened issue #90 and sent a pull request #91 . However,  **there's an infinite scrolling bug in his code**. So I added mine.