Added support for animated gifs.
Merge pull request #22 from poemdexter/master

Added support for animated gifs.