Fix layout of main page