FB-13897: Fix scroll speed after window resize