added support for after callback on transitions with 0ms durations