WickyNilliams/headroom.js — pull request #74 by chiplay (2014-05-28 14:52:16+00:00)
Title: Adds directional tolerance option

Scrolling down you may want the header to pin immediatly, while scrolling back up you may want to require a higher tolerance to avoid a jittery 'up/down' while making small movements. This allows for both a standard int value or a up/down options object.