Flipping in vertical direction.

- adding support for the flip directions: TOP_BOTTOM and BOTTOM_TOP.