Adds support for more than 3 gifs