You should modify your code, in the way that only when you press some keys (like Up and Down) your scrolling part, like in the next example:
window.onkeydown = keydown;
function keydown(evt) {
if (evt != undefined && (evt.keyCode == 38 || evt.keyCode== 40)
{
window.scrollBy(0, 10);
if ($(window).scrollTop() == $(document).height() - $(window).height()) {
CallWebService();
}
}
}