avoid spurious test failure due to window scroll