Amplitude control of the cantilever of the transverse dynamic force microscope