Affix Sticky Plugin
bower install sticky-kit --save
sticky-kit.min.js
$("#sidebar").stick_in_parent();
leafo.net/sticky-kit