added transitions to subpages