Added animated pictures support in the widget type