records user's mouse movements