Adds functional jquery scrolling, but with console bugs