cleaned up code and added scrollTo features