wired up page transitions