fix page scroll behavior for firefox