Investigation into the Dynamic Stability of Nanobeams by Using the Levinson Beam Model