added scrolling functions