Bidirectional dynamic scaling in an isolated Bose gas far from equilibrium