Fix resize

Fixed selection of the active step in the cases of slides following one with substeps.

In fact due to the fact that (exiting from a slide with substeps) the last substep remains marked as active, the selection of the active step cannot use only the ".active" selector.