Included the scrolling function