In my own code and in all your examples, the "active" set is only set after the first transition (both "normal" and responsive demo's confirm this behavior)
Also, the parameter passed with the afterEnd callback, shows the visible DOM elements correctly, but the "active"-class is still shown on the element which was active before the transition.
In my own code and in all your examples, the "active" set is only set after the first transition (both "normal" and responsive demo's confirm this behavior)
Also, the parameter passed with the afterEnd callback, shows the visible DOM elements correctly, but the "active"-class is still shown on the element which was active before the transition.