fix scrollup bug on firefox