Merge pull request #4 from AlimoRabbani/patch-1

Return correct height in intrinsicContentSize
diff --git a/src/MDFSpritedAnimationView.m b/src/MDFSpritedAnimationView.m
index 42f5414..f59c634 100644
--- a/src/MDFSpritedAnimationView.m
+++ b/src/MDFSpritedAnimationView.m
@@ -80,7 +80,8 @@
 - (CGSize)intrinsicContentSize {
   if (_spriteSheetImage) {
     CGFloat width = _spriteSheetImage.size.width;
-    return CGSizeMake(width, width);
+    CGFloat height = _numberOfFrames > 0 ? (_spriteSheetImage.size.height / _numberOfFrames) : width;
+    return CGSizeMake(width, height);
   }
   return [super intrinsicContentSize];
 }