improved main page layout