as his eyes better adjusted , ellis could see the figure slowly swaying back and forth as it stood fixated on the window , waiting for the slightest sound to wake it from whatever trance they went in .