Add feature to reset the movement counter

Add feature to reset the mouse movement counter to interval time (seconds), so that if the user is using the mouse, there wouldn't be any auto-movement triggered by the program (which is useless).