changed user controls to stop motion on keyup