added minimum spaces to the borders of the statistics panel