Adapting on the Fly to Test Time Distribution Shift