Exploiting global dynamics of a noncontact atomic force microcantilever to enhance its dynamical robustness via numerical control