he had clapped his wig professionally upon his head when called , but had not taken time to dress , and the sleeves of his bedgown flapped like wings as he followed jamie across the room , waving his arms like a demented scarecrow .