Top down motion of the lever gives information on the topology of the sample.
The cantilever can be bended in two ways:
longitudinal deflection gives information about the topology of the sample
torsion of the lever gives information on friction between the tip and the sample
The longitudinal deflection is caused by the different force as a function of the distance between tip and sample. It measures therefore mainly the topology of the sample.