Control of global bifurcations in a noncontact atomic force microcantilever