the idea of dreams that get loose and have to be tended is loosely inspired by both a neil gaiman story called `` the sweeper of dreams , '' and a stephen king movie called the langoliers , in which there 's a world that gets left behind as time moves ahead , complete with a gradually fading reality .