trying scrolling logic