added support for mouseclicks