adding support for the flip directions: TOP_BOTTOM and BOTTOM_TOP
.
Merge pull request #8 from garlic/master

Flipping in vertical direction.