adding master detail support for tablets