How to change the layout into single page style?