Surfing dog makes skillful recovery to avoid wipe out