Auto set height for cells in mobile devices