Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user’s scroll. The header on this site is a living example. It slides out of view when scrolling down and slides back in when scrolling up.
4) JavaSript Libraries- Mouse Trap
Switchery is a simple component that helps you turn your default HTML checkbox inputs into beautiful iOS 7 style switches in just a few simple steps. You can easily customize switches so that they match your design perfectly.