Reduce the maximum heigth for tablet layout

Fix #1842