cleaning up a few variables, making sure scroll works in firefox.