Restructure the whole page