throttle line drawing to improve performance on touch
add draw mode