added analog catch to switch to loiter mode