Save collapsed graphs into cookie