Detect scroll top value of parent window