centered the page changing