Added JavaScript for nav scrolling