Simple fix to have container option

Signed-off-by: Ryan Chen <ryan.chen@turn.com>
what if my element is nested, but i still want to check the window's scroll? this does not support that use case. can we somehow pass a container explicitly instead?