fix for carousel choppiness on firefox