Added scroll button functionality, cleaned up jquery