change the main layout