Changed all event listeners to use on(). Changed arrow key event handling to keydown instead of keyup to allow for rapid traversal through stack by holding down arrow keys.