Fixed scroll issue with firefox, Fixes #754