What is the difference between "sliding" and "swiping"?

What, if any, is the difference between the motion of sliding and swiping? For example you may adjust the volume control by sliding the indicator, but to unlock your phone I think most people refer to it as swiping? Is it correct to say the term "swiping" implies a greater degree of difficulty and is used in situations where you don't want the event to be accidentally triggered e.g. turning off an alarm?