the passageway they had followed from the portal chamber had emerged high up in the wall of the cavern near the vaulted roof , and a broad ledge sloped downward from the opening , running along the sheer wall .