Split the display function into two (one for 23 lines; one for just one line)