function updatePositionAndSize(dataPoint, xPosition, yPosition){
            let [tooltipX, tooltipY] = getTooltipPosition([xPosition, yPosition])

            tooltip
                .attr('width', tooltipWidth)
                .attr('height', tooltipHeight + 10);

            tooltipTextContainer.transition()
                .duration(mouseChaseDuration)
                .ease(ease)
                .attr('transform', `translate(${tooltipX}, ${tooltipY})`);

            tooltipDivider
                .attr('x2', tooltipWidth - 60);
        }
Updates size and position of tooltip depending on the side of the chart we are in
TODO: This needs a refactor, following the mini-tooltip code.

@param  {Object} dataPoint DataPoint of the tooltip
@param  {Number} xPosition DataPoint's x position in the chart
@param  {Number} xPosition DataPoint's y position in the chart
@return void
@private