Add listener for (window).resize().