A dog's tail: the meanings behind its movements