set up todo view