added tablet view support