animation now uses keypresses instead of timer