Add title bar and pages