So the reason he is doing that so much is vulnerability. The cage needs to be stuffed with live plants and horizontal branches for perching. Chameleons feel extremely vulnerable when out in the open, so no matter where he is in the enclosure, he feels this way. Once you give the little guy more places to nestle into and feel more secure, this behavior will lessen as he becomes more settled into his new home.