Boundary layers and non-linear vibrations in an axially moving beam