changes to resize tool