scrolling and drawing working