adjust main page layout