reset the root page to store and change the layout