Ensure old resize handlers are unbinded when new conditions are passed in.
Debounce resize handlers.