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

Images don't resize well on ipad/iphone on Rotation with ios7.