Changed swipe duration from milliseconds to seconds

Changing swipe duration to be in seconds instead of in milliseconds. Also made debug string and actual duration consistent.