realize to touch and click event on workspace