Fixed prematurely ending the transition. Also now properly handles the waitOn callback
The transition ended when ever one of the transitions stopped, and the width was at 100% or more. Now it has to reach zero opacity instead.
Added support for multiple calls of the waitOn callback, and it shouldn't bug out, on notFoundLayout anymore either.