added new pages and moved continue button off the layout page.