Tech stocks bounce back to give the Nasdaq index its best day in months