Changing main layout.