key event listener
pause not working
fixed pasuing