optimized onmousedown function