reworked JS - scroll to functions from nav