Touch function

Added touch functionality