update vertical tabs for better compatibility with RTL