ian had dragged himself one-handed up the slope , crawled some distance , and then lay for a while under a fallen log on the edge of a clearing , spots coming and going before his eyes like a swarm of midgies .