Making animate() work with steps.