removed and rearranged main page elements