added some basic touch handling