Draw mesh in both directions
Fix swapped top and bottom, thanks Roman Pryamonosov