refactored mousedown/mouseup > focusin/focusout