improve tablet layout