Flanged castle nut, swingarm pivot shaft