XF 1.4 Scroll to the top button Javascript

New Joe

Active member
So I thought it would be nice to have.
I found this real easy way to add on by using one of he codes from here:


It worked but after doing so it messed up all the Xenforo javascript.
I've seen a few sites which use a floating go to the top arrow, so how do they do it?