Smoothed tab close animation