restoring animloop