SwEmulation for coordinate-based swipe and drag

Note new non-zero default values for drag beginDuration and endDuration. With zero values this function does not work as specified by default ("sharp begin, straight move, sharp end"). The absolute values can be adjusted later.