they came to an abrupt halt at sight of the newcomer-and cast a wary eye at the dog , who turned its attention on them , wrinkling back its muzzle and displaying an impressive array of gleaming teeth .