started adding scrolling logic