added gif loading