fixed horizontal scrolling and also fixed the hard-coded blue color during drawing.