added support for listening to mouse movement