Implement Tablet UI mode

Change-Id: I84c2cdcdc3674144dac459513a8de9ad7d55081c