Headhesive.js creates an on-demand sticky header. Specify when you want your header to become fixed and the rest is magic.