line and scrolling implemented, but slow