Added movgif function.