Only add top marging when step numbers are visible

When the tooltip is on the left, we need to add a top margin only if the step numbers are visible.