Trigger window resize when horizontal scrollbar appears