added params for the ajax GET request, and fixed the window scroll detection code