cursor position scales to browser size