H2A.Z-mediated localization of genes at the nuclear periphery confers epigenetic memory of previous transcriptional state. H2A.Z-mediated localization of genes at the nuclear periphery confers epigenetic memory of previous transcriptional state.