prevented the default action of any key press to prevent the browser from scrolling up/down