position the tooltip and documentation