Fixed Scroller class issue when passing 'window' as element.
docs update
Merge pull request #1269 from SergioCrisostomo/scroller-fix

Scroller fix