changed desktop mode to use mousedown instead