Adjusting the distance between two elements, at least one of them being movable