Effect of boundary constraints on the nonlinear flapping of filaments animated by follower forces