added mouse handler
Dont hardcode convering factor in mouse handler