Added resize controller.