resize animated GIF avatar