add GIF animation support