A responsive sticky element jQuery plugin designed for use with Foundation, Bootstrap, or your own css solution. Here's the project homepage.
tldr; Add the .stuck class to any responsive element and it will stick to the top of the page.
Check out the docs.
See all of the examples here.
This plugin is available under the MIT license.