Added min version
Added min version
Moved win variable out of global to allow for multiple scrolling parents. Updated min.