two working modes, no switching yet
scrolls correctly