add dispose method to clear vertexBuffers