change mainpage layout