Anomalous Hall effect in ZrTe5