Unbind the callback on window resize to prevent firing after carousel is loaded.