In spy-api.js, the code for determining scrollspy offset has
pos.top + spy.offset - containerOffset < 20
this means that the scrollspy activates before the element actually reaches the top of the page (or whatever offset was set. e.g. setting a 50 offset is effectively a 30).
Is there a particular reason for this?