change animation cookie to only play once