anti-shake control on cursor