Shaping epigenetic memory via genomic bookmarking