     private func displayTodayCell(){
         let todayIndexPath = NSIndexPath(forRow: self.listOfDays.count / 2, inSection: 0)
         self.tableView.scrollToRowAtIndexPath(todayIndexPath, atScrollPosition: UITableViewScrollPosition.Top, animated: false)
+    }
+    
+    private func setTitle(){
+        self.navigationItem.title = "\(self.daysBeforeAndAfter) days before and after"
     }
     
     override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {

        var dateList : [NSDate] = []
        
        var today = NSDate()
        for dayDiff in -7 ... 7 {
            var timeInterval = NSTimeInterval(dayDiff * 24 * 3600)
            dateList.append(today.dateByAddingTimeInterval(timeInterval))
        }

class ListOfTaskListsTableViewController: UITableViewController {
    
    lazy var listOfDays : [NSDate] = self.createDayList()
    var daysBeforeAndAfter = 7

    override func viewDidLoad() {
        super.viewDidLoad()
