Changed swipe duration from milliseconds to seconds