added animate call to dom adapter