bind window scrolling instead of and elemnt's scroll event. Add additional check to see if we are scrolling within the container. Fixed plugin init call so that it actually works.