add scrolling verical and horizontal for drawing and view drawing