maintain distance using ultrasonic sensor