fix tablet mode

Change-Id: I872dfdeadc90eca6f2cba42ecb68cff7c7652566