remove the not-used-anymore transitionToPage method