Nonlinear dynamics and bifurcations of an axially moving beam