changed mousedown to mousemove which was causing the problem in sequential drawing