added beginnings of iPad support with UISplitViewController