minor
added a function to detect mouse move since last mouse action