adapting row height to display screen