Now uses wb.resizeEvents