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.