WickyNilliams/headroom.js — pull request #46 by andyhot (2014-01-31 18:07:21+00:00)
Title: Detect scroll to top

This PR takes care of #43

* 'headroom--top' class is added when browser is scrolled to top
* 'headroom--top' is removed when scrolling down
* Callbacks onTop and onUntop can be registered
* Detection of 'scroll to top' takes account of the offset option

Let me know if you prefer the dist files removed from the PR