Fixed slide transition flicker in Safari

Here is a new pull request, rebased to master. I couldn't attach the new rev to the previous pull request.