for mainpage layout change