Added two pane layout for tablet
using callback to make hosting activity aware of the changes