Changed example so layout is manages by a tableView - much cleaner.