Changed the layout of slides