but in his dream the second animal paused , and bent over , and the big head peered in curiously through the window , and arby realized that he was seeing the giant head of a tyrannosaurus rex , the great jaws working , the white teeth glinting in the sunlight , and in his dream he watched it all calmly , and slept on .