fix bug in firefox. `scroll()`