rearranged main page elements