Gravar-mail: Chromosome-refolding model of mating-type switching in yeast