Cleaned up code and started scrollTo().