JavaScript functions that make navbar stick to top of page when scrolling down past the original navbar spot