Add support for both vertical and horizontal flip animation

Add support for horizontal flip