Function of articular capsule