watch resize event on window

You will have to trust me that I tested this thing because there's no
easy way to unit test a window resize event (triggering a window resize
and changing the window size is hard)
lower scroll wait timeout in tests

higher scroll wait does not solves ipad problems on one test (detached)
add offset param unit testing