Pivotally connected gate