opticflow: make average velocity identical for both motion directions