seemingly suffering a nightmare-wracked sleep , these latter shuddered , moved oddly , sometimes going through the motions that someone awake would make if opening a door , running , or fighting off hordes of frightening demons .