init tablet layout