Position when animating

how to stay position horizontal when animating . I have a crane hook which has to stay in horizontal position when moving the telescoop in another angle.
Howto without using physics.