fix bug wherein a transition on a child of the current page disrupts page transitions