correct scroll direction in firefox