Call gridData on window resize