changed main page layout