removed obsolete comments
made tooltip flip if cross right screen border