Middlesbrough got back to winning ways with a crucial 3-1 victory at Stoke City