ложившейся
...lying (down), who/that/which lied (down) / was lying (down), has /had been lying (down)
Thanks!!