Fixed: trying vanilla javascript for Travis CI

Trying vanilla javascript scrollTop to see if it fixes the off-by-one pixel error when running tests on Travis CI.