on click to onmousedown