Forward Port Tablet UI toggle
Original Patch by Scott Brady <sbradymobile@gmail.com>

Change-Id: I5113b0256aa44cf7c97594412e755c78df51ee73