The motion of 36 Ophiuchi