Added bounds to the scrolling bar. Removed code to draw the curve on stage