Adds the latest window resizing functions.