add API for mouse enter/leave events