optimize tab performances
add z-depth-left, z-depth-right, z-depth-top