add detecting mouse position