Fixed Issue #21.

Added flip method to Animation.
Issue #21