I'm sorry this happened to you. Your strategy for alerting and passing pedestrians sounds good, and the event will probably help the kid develop a better strategy for getting out of the way.