Change layout of major pages