leemachin/sticky.js — pull request #2 by ismasan (2014-03-10 12:29:48+00:00)
Title: Fix margin-top bug in IE8

Setting margin-top causes weird behaviour on IE8. Using padding instead seems to fix it.

When using margin-top, depending on the markup the nextVisible element will overflow under the element right above it, as if with a negative top-margin.

Might be related to this? http://www.inventpartners.com/ie8_margin_top_bug