Stokes scored 85 in the second innings to propel England towards a winning total