[Felipe] Fix: gallery behaves wrong whenresizing slides in ios7
Merge pull request #394 from feliun/master

[Felipe] Fix: gallery behaves wrong whenresizing slides in ios7 on rotation