switch from resize to limit to resize to fit