Improve resize Action