Revert "Optimise hflip."

This is not working very well...

This reverts commit f3fa6a0c4f595459b7de75e230c4105821b82e99.