Horizontal flows concurrent with an X2.2 flare in the active region NOAA 11158