ScrollToFixed
ScrollToFixed copied to clipboard
Avoid multiple initializations
Calling $(elem).scrollToFixed() multiple times on the same elem will cause listeners to be attached on each call. This avoids the multiple listeners, with the downside of being unable to reset options.
I didn't minify because you haven't said what tool you like to use.