Separate and simple implementation of touch gestures