updated mouse positioning