exampled input to handle scrolling