raise end.of.page event when scrolling down to the bottom of the document