onResize Event test sample