Sticky-Kit is a jQuery plugin for making smart sticky elements Sticky-Kit provides an easy way to attach elements to the page when the user scrolls such that the element is always visible.
Website Demo