Added width to resize event for better swagger support