Made the inital layout with the timer and the page view controller.