not working yet
optional poll for document resize
destroy old event on document resize.  tested and working
Merge pull request #175 from goodybag/175-scroll-near-end-event

further abstract pagination scroll event