Implemented touch behavior (issue #10)