fix problem counting width sub containers and fix both positioning (left, right)