mouseToElPos will return 4 methods used in vanilla JS frequently.