Automatic turning gate