Added a threshold
Removed a bug where the fold was run to soon, we'll check whether scrollview has any content and if so, proceed folding
Removed a bug where it wouldn't fold out if scrolling too quickly