Features of cantilever motion in dynamic-mode AFM