[feat] calculation of tooltip's pos + some naming cleanup