add viewport padding to the tooltip