Changed transition to pages.