dynamic margin

so with large y axis scale it still fits