optimize the home page layout