made left and right block completely dynamic