Ball-bearing hinge