add mousedown and mouseup events