Preventing keydown to scroll the window

Fix #1.