Separate X and Y coord calculations in separate functions
Feature: smart positioning in case when tooltip overflows window size
min version update