Fix for tablet ui.

Signed-off-by: iceandfire <arhamjamal@gmail.com>