add mouseup event