added in touch gesture recognition