Nonlinear vibrations of an extensional beam with tip mass in slewing motion