Fix elastic scrolling
Fix adding iterations outside range in Flow
Compute ray point distance to find closer slide
Merge pull request #1428 from romancortes/elastic-scrolling-2

Add elastic scrolling to Flow