Telescoping cylinder