Added additional methods. Get parent window size, show loader, hide loader, onbscroll callback