Added gifAnimation code