Modify gif animation