the bookcase had become detached from the wall and teetered before coming to a rest , stanton sighed with relief , sure that it was going to topple upon them as he watched the great trunk of tree wavering overhead then come crashing down upending the edge of the table .