Second jQuery plugin, have scoping all messed up

Second jQuery plugin, have scoping all messed up

Hi all,

I'm writing my second ever plugin, an attempt to refactor the code from http://www.bennadel.com/blog/1803-Creating-A-Bidirectional-Infinite-Scroll-Page-With-jQuery-And-ColdFusion.htm into a proper plugin.

I've gotten it to various stages of completion, but after going through a couple of plugin tutorials and best practices, I've managed to completely break it.

It can be seen in action at http://www.fylo.net/scroller/ and I've made a fiddle at http://jsfiddle.net/rTE9b/1/

Thanks in advance.