preventing default behavior of keydowns to prevent wiggling