Twist buckling and the foldable cylinder: an exercise in origami