he had located a suitable place to wait for the dwarves and was now clinging precariously on the side of the mountain by gripping a circular ridge that looked as though it wound its way all around the mountain as though someone had dropped a large ring down onto a cone .