you make the top of the wall invisible with top(B,0,0)
you also need to make sure backface culling is on in the settings