save and load animation data