added a prototype scrolling mechanism