Add listener to cleanup window resize binding