Simple fix to have container option

Signed-off-by: Ryan Chen <ryan.chen@turn.com>
`scrollTop()` should work for both your window and element, see https://github.com/jquery/jquery/blob/10399ddcf8a239acc27bdec9231b996b178224d3/test/unit/offset.js#L400