Change layout of main page