avoid scrollbar when there are many years