A dog rears up on its hind legs in a yard .