attempt smoother resize