added mouse example and refined the bindings