Added shift values for tooltip near window edges

Tooltips are flickering when positioned on left side of mouse cursor.
Without using shift values mouse can hover on tooltip itself. It triggers hide event for tooltip since mouse is no longer on chart.