GIF on VerticalScrollArangement


i try to change gif picture in KIO4_AnimatedGif. Main is change animated gif picture in same place of the screen, new animation changes old animation, file by file, gif by gif. BUT in this macros i cant stoped first animation hus have unlimited time. And i sees double animation on the screen. I try to use vertical arragement for it, i close one and open new, but second arragement always stay inside first and when i close first , second closed to, and i close second gif image with it. Friends , how can i change gif animation in same place with close of every old gif and start new one.