change the time to the center of the page