fix gif not looping