creating multi pane layout for tablets