Browser library to watch for scroll and resize events