Nonlinear dynamics and chaotic motions of a singularly perturbed nonlinear viscoelastic beam