Smoothed scrolling on homepage updated

Now uses weighted algorithm and detects if input is already weighted.