add mouse position handling namespace