added very rudimentary mouse position tracking