start of implementation of scrolling

working on the api callbacks necessary to support scrolling logic