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