Fix flashing issue (incorrect slide position) when device is re-oriented.


requestAnimationFrame is causing a flash quirk on ipad re-orientation.

It seems it doesn't fire the event until after orientationEnd, which means it uses the old transform3d value, which displays the wrong position because the scale is different in portrait and landscape.