Lets the dom redraw itself between the triggering of the transitions