cferdinandi/smooth-scroll — pull request #36 by follesoe (2014-02-19 14:29:48+00:00)
Title: Add offsettTop to offsetHeight for scrollHeader

If you have multiple fixed headers, it’s not enough to calculate the headerHeight as the height of the sticky header element. We need to add the offsetTop to compensate for the first sticky header.

If this is a general behavior that should be included in the smooth-scroll lib I'm not sure - sending this PR as a suggestion to a scenario you might have to consider. That beeing said, it shouldn't be a problem, as the offsetTop will be 0 for users/sites with a singly sticky header.