improve the padding around elements and title
figure legend
@mlyne is this OK?