Use document scroll height instead of offset height to support body with absolute height
fixes #11720 - Add events trigger to affix
add docs for affix events
Merge pull request #11722 from DocX/patch-1

Use document scroll height instead of offset height
fixes #11788 - focusin focusout instead of focus/blur
Merge branch 'master' of github.com:twbs/bootstrap