Scroll element can be something else than window element
Enhance PR with suggested improvements
Merge remote-tracking branch 'pandaiolo/master' into forMyApp
When clicked header element, unpins header.
Enable to reverse the direction of scroll for pinning.