Re-implement add_move_event to make it works with add_toggle_event.