Handle key input for the bird

Altered the code from #14 to smooth out the movement.