Adds automation flipping.
Code Cleanup
Fixes flipping visiblesegment horizontally
Merge pull request #1486 from Spekular/master

Adds automation flipping.