add animated GIF support