Added tablet mode UI

Flexible UI for phone and tablet. Single pane mode in phone,
master-detail mode (two pane) for tablet.