Four men have gone on trial for their alleged role in the violent disorder which erupted in Middlesbrough in the summer.