added javascript to create fixed navbar once scrolled