fixing animated gifs