I found it easier to control using the keyboard rather than clicking. Maybe make the distance positive whether you go to the right or left.
Nice simple game.