Box Resize Test completed, refactored event handler for updateWidth