Adding window resize to make div scrollable