Fixed slide transition flicker in Safari

This fixes issue #7