Thank you for this awesome bit of code in plugin form!
I have a quick question to piggy-back on chaochipp's subject line above: "Would there be a way to not have the page refresh upon resize in general?"
You know more than I on how all this works but I'll explain a little.
We are in development for a "floating" sticky navigation, and building it 100% on your plugin. The inspiration for it comes from the worldwildlife.org sticky nav which can be seen, for instance, here: worldwildlife.org/threats/bycatch. As the visitor scrolls down the page, the second navigation sticks to the top and joins them on their scroll.
However they pulled it off, the page does not refresh upon resize and I would be curious if this is possible/could be made possible somehow with the Sticky Elements plugin.
I don't expect your kind, free work to investigate too much. Just wondering if there is something we can do with the plugin to imitate that resizing effect where the Page doesn't reload every time.
I also realize the refresh probably has something to do with whether to even show the sticky element or not so it checks the browser window size on each call.
Thanks again for offering your replies here on this forum, and for the plugin! We are happy either way, whether it's possible or not :-)