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

Change-Id: Ie7ab612f4be253467b26f71f8c6484f8fc7e92a7