Apparently, she was preoccupied with some intense thoughts, and therefore didn't immediately pay attention to her neighbor. But when she did notice her, she was immediately frightened, stepped back, and fell onto the bed.
-- Hello... Um, do you mind if we're neighbors? -- the refitter extended a hand to the fallen girl, either to help her get up or to say hello. -- I'm Varya.