Fixed Scroller class issue when passing 'window' as element. #1013

Closed
wants to merge 1 commit into
from