animation fix and cookie set for remembering language