add support for mouse interaction