Added is_bouncing state and a random final position.