Reworked SITES scrollTo JS function.

Signed-off-by: Dom Pascal <dom@dompascal.com>