Add subtle transition effect for dynamic resize