Animate a gif or  a video by scrolling to frames