drawing with mouse or touch