A framework for sequencial animation of the DOM