When shouldDismissOnImageTap is YES and you tap the image the animation is performed twice with unpredictable results
Merge pull request #29 from nandodelauni/master

Avoiding perform dismiss animation twice when `shouldDismissOnImageTap` is YES